USE [School]
GO

/****** Object:  Table [ObjectAccess]    Script Date: 10/02/2012 19:26:34 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [ObjectAccess](
	[ObjectAccessId] [int] IDENTITY(1,1) NOT NULL,
	[AppId] [varchar](10) NOT NULL,
	[ObjectName] [varchar](256) NOT NULL,
	[Role] [varchar](256) NOT NULL,
	[AccessType] [char](1) NOT NULL,
	[IsDeleted] [bit] NOT NULL,
	[CreatedBy] [int] NULL,
	[CreatedOn] [datetime] NULL,
	[UpdatedBy] [int] NULL,
	[UpdatedOn] [datetime] NULL,
	[DeletedBy] [int] NULL,
	[DeletedOn] [datetime] NULL,
	[TimeStamp] [timestamp] NOT NULL,
	[FunctionID] [varchar](50) NULL,
PRIMARY KEY NONCLUSTERED 
(
	[ObjectAccessId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


